[ExecuTorch][WebGPU] Add gather and embedding ops to the WebGPU backend#20927
[ExecuTorch][WebGPU] Add gather and embedding ops to the WebGPU backend#20927JCNTH wants to merge 4 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20927
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
SS-JIA
left a comment
There was a problem hiding this comment.
Review automatically exported from Phabricator review in Meta.
Stack from ghstack (oldest at bottom):
Add
aten.gather.default(row-gather) +aten.embedding.defaulthandlers for the training tail.Key changes:
runtime/ops/{gather,embedding}/— gather / row-gather WGSL kernels + handlersCMakeLists.txtWEBGPU_SRCS— wire the sourcesReuses the shared Vulkan partitioner (
aten.gather/embeddingalready registered); WebGPU kernels only.Co-authored-with: Claude Code.
@exported-using-ghexport
Differential Revision: D111755125
Differential Revision: D111755125